<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
               
<table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 90%">
    <tr>
        <td>
			<h4 class="CommonListTitle"><needsresource>Moderation History</needsresource></h4>
            <CS:RepeaterPlusNone EnableViewState="false" runat="server" id="AuditHistoryRepeater">
	            <HeaderTemplate>
					<table cellpadding="0" cellspacing="0" border="0" width="100%">
						<thead>
                    <tr> 
								<th class="CommonListHeaderLeftMost"><cs:resourcecontrol runat="server" resourcename="ModerationHistory_Date" /></th>
								<th class="CommonListHeader"><cs:resourcecontrol runat="server" resourcename="ModerationHistory_Moderator" /></th>
								<th class="CommonListHeader"><cs:resourcecontrol runat="server" resourcename="ModerationHistory_Action" /></th>
								<th class="CommonListHeader"><cs:resourcelabel runat="server" resourcename="ModerationHistory_Notes" /></th>
                    </tr>
						</thead>
						<tbody>
	            </HeaderTemplate>
	            <ItemTemplate>
			              <tr valign="top">
								<td class="CommonListCellLeftMost"><asp:Label runat="server" id="ItemDate" />&nbsp;</td>
								<td class="CommonListCell"><asp:HyperLink runat="server" Id="ItemUsernameLink" />&nbsp;</td>
								<td class="CommonListCell"><asp:Label runat="server" id="ItemAction" />&nbsp;</td>
								<td class="CommonListCell"><asp:Label runat="server" id="ItemNotes" />&nbsp;</td>
			              </tr>            			            			
	            </ItemTemplate>
				<FooterTemplate>
						</tbody>
					</table>
				</FooterTemplate>
							<NoneTemplate>
									  <tr>
								<td align="center" colspan="4" class="CommonListCellLeftMost"><cs:resourcecontrol runat="server" resourcename="ForumMembers_NoRecords" ID="Resourcecontrol1" NAME="Resourcecontrol1"/></td>
									  </tr>
							</NoneTemplate>
            </CS:RepeaterPlusNone>
            
						<table cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td valign="top" align="right">
									<asp:Panel id="DisplayPager" Runat="server">					
										<div style="padding-top: 12px; padding-bottom: 12px;">
											<table class="tableBorder" cellpadding="0" cellspacing="0">
												<tr>
													<td>
														<table width="100%" cellpadding="2" cellspacing="0">
															<tr>
																<td valign="middle" class="column" nowrap="true">
																	&nbsp;<CS:CurrentPage Cssclass="columnText" id="CurrentPage" runat="server" />
																</td>
																<td valign="middle" align="right" class="column" nowrap="true">
																	<CSD:ForumPager id="Pager" runat="server" />
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</div>
									</asp:Panel>
								</td> 
							</tr>
						</table>
        </td>
    </tr>
</table>            
